Why "./" is used to run ".sh" scripts in Unix? [duplicate]

Posted by user283502 on Ask Ubuntu See other posts from Ask Ubuntu or by user283502
Published on 2014-05-20T13:38:22Z Indexed on 2014/05/27 3:42 UTC
Read the original article Hit count: 132

Filed under:

This question already has an answer here:

I am executing a .sh script today. It is executed with prefix "./.sh,I am a bit confuse because it is also executed without ./.but why this is required to use ./

Could you please explain me that why ./ is used to run .sh scripts?

© Ask Ubuntu or respective owner

Related posts about shell-scripting